package thread.zjitc.net.lib.HomeWork1;

/**
 * @author 朱志文
 * @data 2019/10/17 0017
 */
public class TestRunnable implements Runnable {
    @Override
    public void run() {
        System.out.println("Hello World");
    }

    public static void main(String[] args) {
        TestRunnable mTestRunnable=new TestRunnable();
        Thread mThread=new Thread(mTestRunnable);
        mThread.start();
        System.out.println(mThread);
        System.out.println(mThread.getName());
        System.out.println(mThread.getPriority());
    }
}

